1 2 | tar -czvf aps95. tar .gz aps95/ tar -xzvf aps95. tar .gz |
or
1 2 | tar -cvf aps95. tar aps95/ gzip aps95. tar |
1 2 | gunzip aps95. tar .gz tar -xvf aps95. tar |
or
1 | tar -cvf aps95. tar aps95/ |
1 | tar -xvf aps95. tar |
1 | gunzip < file . tar .gz | tar xvf - |
other
- if you don't remember what is inside the compressed archive; this command will show you the contents, again without taking apart the whole thing:
1 | gunzip -c aps95. tar .gz | tar -tvf - |
- extract bz2 files
1 | tar xjvf cornbread. tar .bz2 |
Hide Comments